home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
misc
/
dyl
/
f3d.doc
< prev
next >
Wrap
Text File
|
1994-08-28
|
1KB
|
36 lines
Dyl 0x0001a
This is my attempt at a combination 3D Dynamics/Graphics Lib.
It's currently in C++ because C++ is friendlier than C.
I had planned on writing it in C, because I have heard that
C++ is often slower than C unless you are very careful. Finally,
after doing a ton of /* comment */ I finally broke down and
decided that I would use C++ so that I could do // comment
Body: A group of ridigly attached objects, a linked list;
Hbd is the head of the list. Each body has field "next".
Each body has field Ho.
Object: A basic sphere. The top of a class of other more complex
spheres. Each object has next, each body has Ho which is the
first object.
Object Hierchy:
object
/ \
/ \
objectD objectF
object with a and object with a frame
direction vect. \
/ | \ Eye
/ | \
Gun Thruster CPU
Plane: A rectangular object with normal.
currently the legal normals are (1,0,0) (0,1,0) (0,0,1).
flexf: A flexible floor. made up of 16 points connected by
9 quads and 4 "nails" (one at each corner).